{include file="header.html"}

<div class="page-header">
	<h6>
		会员管理
		<small>
			<i class="ace-icon fa fa-angle-double-right"></i>
			会员列表
			<i class="ace-icon fa fa-angle-double-right"></i>
			参保人列表
		</small>
	</h6>
</div>

<form class="form-inline" action="?" method="get">
<input type="hidden" name="app" id="app" value="member" />
<input type="hidden" name="act" id="act" value="person" />
<input type="hidden" name="id" value="{$id}" />
<select name="status" id="status" class="form-control">
	<option value="">状态</option>
	<option value="0" {if $status=='0'}selected{/if}>隐藏</option>
	<option value="1" {if $status=='1'}selected{/if}>正常</option>
</select>
<button type="submit" class="btn btn-info btn-sm">
	<i class="ace-icon fa fa-search bigger-110"></i>搜索
</button>
</form>

<div class="table-content">
<table id="simple-table" class="table table-striped table-bordered table-hover">
	<thead>
		<tr>
			<th>ID</th>
			<th>姓名</th>
			<th>手机号码</th>
			<th>身份证号码</th>
			<th>社保号</th>
			<th>身份证</th>
			<th>户籍类型</th>
			<th>状态</th>
			<th>操作</th>
		</tr>
	</thead>

	<tbody>
		{foreach from=$rs item=row name=row}
		<tr>
			<td>{$row->id}</td>
			<td>{$row->name}</td>
			<td>{$row->mobile}</td>
			<td>{$row->idcard}</td>
			<td>{$row->social_number}</td>
			<td>
				<a href="{$row->idcard_pic1}" target="_blank"><img src="{if strlen($row->idcard_pic1)}{$row->idcard_pic1}{/if}" width="50" /></a>
				<a href="{$row->idcard_pic2}" target="_blank"><img src="{if strlen($row->idcard_pic1)}{$row->idcard_pic2}{/if}" width="50" /></a>
			</td>
			<td>{$row->type}</td>
			<td>{if $row->status==1}正常{else}隐藏{/if}</td>
			<td>
				<a href="?app=member&act=person_idcard&id={$row->id}">
					<button type="button" class="btn btn-xs btn-info">
					<i class="ace-icon fa fa-download bigger-120"></i>
				</button>
				</a>
			</td>
		</tr>
		{foreachelse}
		<tr bgcolor="white"><td colspan="13" height="50">暂无记录</td></tr>
		{/foreach}	
		
	</tbody>
</table>
</div>
<div class="mypage">
	共 {$page.num_records} 个记录  {$page.current_page} / {$page.num_pages} 页  {$page.first_page} {$page.prev} {$page.nav} {$page.next} {$page.last_page}
</div>
{include file="footer.html"}


